import Layout from '@/pages/public/layout' // 公共部分

const cert = [{
  path: '/course/exam/:id/',
  component: Layout,
  children: [{
    path: 'list',
    component: () => import('@/pages/course/exam/paper'),
    meta: {
      title: '课程考试 - 试卷列表'
    }
  }, {
    path: 'create',
    component: () => import('@/pages/course/exam/paper/create'),
    meta: {
      title: '课程考试 - 添加试卷'
    }
  }, {
    path: ':paper_id/edit',
    component: () => import('@/pages/course/exam/paper/edit'),
    meta: {
      title: '课程考试 - 编辑试卷'
    }
  }, {
    path: ':paper_id/record',
    component: () => import('@/pages/course/exam/record'),
    meta: {
      title: '课程考试 - 记录'
    }
  }]
}]

export default cert
